package org.test.testapi.constant;

import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

/**
 * @author xlang
 * @version 0.0.1
 * @desciption
 * @date 2020/9/5 12:12
 */
@AllArgsConstructor
@Getter
public enum MessageTypeEnum implements BaseEnum {

    /**
     * 提醒对方刷新订单页面
     */
    NOTICE("确认付款"),
    /**
     * 聊天
     */
    NORMAL_CHAT("正常聊天");

    @Setter
    private String cnName;

    @Override
    @JsonValue
    public int getOrdinal(){
        return this.ordinal();
    }
}
